package cn.regexp.product.service.impl;

import cn.regexp.product.domain.Product;
import cn.regexp.product.mapper.ProductMapper;
import cn.regexp.product.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Regexpei
 * @date 2024/7/5 21:01
 * @description 商品服务层
 */
@Service
public class ProductServiceImpl implements IProductService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public List<Product> queryProductByIds(List<Long> ids) {
        return productMapper.queryProductByIds(ids);
    }
}
